import datetime

prices = [('2016-01-04', 1073.9),
          ('2016-01-05', 1077),
          ('2016-01-06', 1093.3),
          ('2016-01-07', 1108.7),
          ('2016-01-08', 1104.1),
          ('2016-01-11', 1093.7),
          ('2016-01-12', 1086),
          ('2016-01-13', 1093.3),
          ('2016-01-14', 1078.3),
          ('2016-01-15', 1088.6),
          ('2016-01-18', 1088.9),
          ('2016-01-19', 1087.3),
          ('2016-01-20', 1101),
          ('2016-01-21', 1101.4),
          ('2016-01-22', 1098.2),
          ('2016-01-25', 1108.1),
          ('2016-01-26', 1119.9),
          ('2016-01-27', 1124.9),
          ('2016-01-28', 1114.7),
          ('2016-01-29', 1118),
          ('2016-02-01', 1128.6),
          ('2016-02-02', 1129.6),
          ('2016-02-03', 1143),
          ('2016-02-04', 1156),
          ('2016-02-05', 1174.1),
          ('2016-02-08', 1189.6),
          ('2016-02-09', 1189.4),
          ('2016-02-10', 1197.4),
          ('2016-02-11', 1247),
          ('2016-02-12', 1238.5),
          ('2016-02-15', 1209.4),
          ('2016-02-16', 1200.9),
          ('2016-02-17', 1209),
          ('2016-02-18', 1231.3),
          ('2016-02-19', 1226.6),
          ('2016-02-22', 1208.9),
          ('2016-02-23', 1226),
          ('2016-02-24', 1229.4),
          ('2016-02-25', 1233.7),
          ('2016-02-26', 1222.8),
          ('2016-02-29', 1239.3),
          ('2016-03-01', 1232.7),
          ('2016-03-02', 1240.5),
          ('2016-03-03', 1264.9),
          ('2016-03-04', 1260.1),
          ('2016-03-07', 1268),
          ('2016-03-08', 1262),
          ('2016-03-09', 1253.9),
          ('2016-03-10', 1273.1),
          ('2016-03-11', 1251.1),
          ('2016-03-14', 1236),
          ('2016-03-15', 1232.8),
          ('2016-03-16', 1263.1),
          ('2016-03-17', 1258.6),
          ('2016-03-18', 1256),
          ('2016-03-21', 1244.1),
          ('2016-03-22', 1248.8),
          ('2016-03-23', 1220.1),
          ('2016-03-24', 1216.7),
          ('2016-03-28', 1221.8),
          ('2016-03-29', 1242.5),
          ('2016-03-30', 1225),
          ('2016-03-31', 1233.4),
          ('2016-04-01', 1223.6),
          ('2016-04-04', 1217),
          ('2016-04-05', 1232.9),
          ('2016-04-06', 1225.7),
          ('2016-04-07', 1242),
          ('2016-04-08', 1240.1),
          ('2016-04-11', 1259.8),
          ('2016-04-12', 1257.4),
          ('2016-04-13', 1244.1),
          ('2016-04-14', 1229.3),
          ('2016-04-15', 1235.8),
          ('2016-04-18', 1234),
          ('2016-04-19', 1251.8),
          ('2016-04-20', 1245.8),
          ('2016-04-21', 1249.5),
          ('2016-04-22', 1233.7),
          ('2016-04-25', 1239.4),
          ('2016-04-26', 1244.8),
          ('2016-04-27', 1247.3),
          ('2016-04-28', 1268.1),
          ('2016-04-29', 1294.9),
          ('2016-05-02', 1293.4),
          ('2016-05-03', 1288.2),
          ('2016-05-04', 1281.5),
          ('2016-05-05', 1279.6),
          ('2016-05-06', 1289.7),
          ('2016-05-09', 1265.4),
          ('2016-05-10', 1267.3),
          ('2016-05-11', 1278.7),
          ('2016-05-12', 1264.7),
          ('2016-05-13', 1274.3),
          ('2016-05-16', 1275.5),
          ('2016-05-17', 1280.3),
          ('2016-05-18', 1259.5),
          ('2016-05-19', 1255.7),
          ('2016-05-20', 1252.9),
          ('2016-05-23', 1249.2),
          ('2016-05-24', 1227.2),
          ('2016-05-25', 1224.3),
          ('2016-05-26', 1219.8),
          ('2016-05-27', 1212.4),
          ('2016-05-30', 1205.7),
          ('2016-05-31', 1215.4),
          ('2016-06-01', 1215.2),
          ('2016-06-02', 1212.9),
          ('2016-06-03', 1246.5),
          ('2016-06-06', 1247.7),
          ('2016-06-07', 1246.2),
          ('2016-06-08', 1265.5),
          ('2016-06-09', 1272.5),
          ('2016-06-10', 1276.3),
          ('2016-06-13', 1286.8),
          ('2016-06-14', 1288.5),
          ('2016-06-15', 1294.5),
          ('2016-06-16', 1281.5),
          ('2016-06-17', 1301.6),
          ('2016-06-20', 1293),
          ('2016-06-21', 1270.7),
          ('2016-06-22', 1268.9),
          ('2016-06-23', 1259.3),
          ('2016-06-24', 1319.1),
          ('2016-06-27', 1327.6),
          ('2016-06-28', 1314.5),
          ('2016-06-29', 1321.8),
          ('2016-06-30', 1324.7),
          ('2016-07-01', 1344.9),
          ('2016-07-04', 1353.5),
          ('2016-07-05', 1358.7),
          ('2016-07-06', 1365.7),
          ('2016-07-07', 1361.8),
          ('2016-07-08', 1367.4),
          ('2016-07-11', 1356.1),
          ('2016-07-12', 1333.7),
          ('2016-07-13', 1343.3),
          ('2016-07-14', 1335.6),
          ('2016-07-15', 1337.7),
          ('2016-07-18', 1329.1),
          ('2016-07-19', 1332.3),
          ('2016-07-20', 1315.8),
          ('2016-07-21', 1331.2),
          ('2016-07-22', 1322.1),
          ('2016-07-25', 1315.3),
          ('2016-07-26', 1320.2),
          ('2016-07-27', 1339.9),
          ('2016-07-28', 1332.6),
          ('2016-07-29', 1349.7),
          ('2016-08-01', 1359.9),
          ('2016-08-02', 1370.3),
          ('2016-08-03', 1364.5),
          ('2016-08-04', 1367.2),
          ('2016-08-05', 1341.4),
          ('2016-08-08', 1341),
          ('2016-08-09', 1346.6),
          ('2016-08-10', 1352.3),
          ('2016-08-11', 1344.3),
          ('2016-08-12', 1341.7),
          ('2016-08-15', 1344.6),
          ('2016-08-16', 1351.3),
          ('2016-08-17', 1353.9),
          ('2016-08-18', 1357.6),
          ('2016-08-19', 1345.8),
          ('2016-08-22', 1343.1),
          ('2016-08-23', 1341.4),
          ('2016-08-24', 1327.3),
          ('2016-08-25', 1325.1),
          ('2016-08-26', 1324),
          ('2016-08-29', 1326.7),
          ('2016-08-30', 1313.8),
          ('2016-08-31', 1311.8),
          ('2016-09-01', 1317.2),
          ('2016-09-02', 1328.8),
          ('2016-09-05', 1330.7),
          ('2016-09-06', 1354.4),
          ('2016-09-07', 1349.5),
          ('2016-09-08', 1342.2),
          ('2016-09-09', 1331.8),
          ('2016-09-12', 1331.1),
          ('2016-09-13', 1322.1),
          ('2016-09-14', 1326.3),
          ('2016-09-15', 1317.8),
          ('2016-09-16', 1313.2),
          ('2016-09-19', 1316.4),
          ('2016-09-20', 1318),
          ('2016-09-21', 1339),
          ('2016-09-22', 1340.7),
          ('2016-09-23', 1341.1),
          ('2016-09-26', 1341.9),
          ('2016-09-27', 1330.7),
          ('2016-09-28', 1324.9),
          ('2016-09-29', 1323.5),
          ('2016-09-30', 1318.8),
          ('2016-10-03', 1314),
          ('2016-10-04', 1270.5),
          ('2016-10-05', 1269),
          ('2016-10-06', 1256.2),
          ('2016-10-07', 1258.6),
          ('2016-10-10', 1261.4),
          ('2016-10-11', 1256.8),
          ('2016-10-12', 1256.8),
          ('2016-10-13', 1259.4),
          ('2016-10-14', 1251.7),
          ('2016-10-17', 1256.4),
          ('2016-10-18', 1263.3),
          ('2016-10-19', 1270),
          ('2016-10-20', 1266.2),
          ('2016-10-21', 1266.7),
          ('2016-10-24', 1265),
          ('2016-10-25', 1274.3),
          ('2016-10-26', 1267.5),
          ('2016-10-27', 1269.2),
          ('2016-10-28', 1276),
          ('2016-10-31', 1277.8),
          ('2016-11-01', 1289.1),
          ('2016-11-02', 1297.8),
          ('2016-11-03', 1303.6),
          ('2016-11-04', 1305.2),
          ('2016-11-07', 1281.9),
          ('2016-11-08', 1275.9),
          ('2016-11-09', 1278.2),
          ('2016-11-10', 1258.6),
          ('2016-11-11', 1227.4),
          ('2016-11-14', 1221),
          ('2016-11-15', 1228.4),
          ('2016-11-16', 1225),
          ('2016-11-17', 1216),
          ('2016-11-18', 1207.3),
          ('2016-11-21', 1214),
          ('2016-11-22', 1212),
          ('2016-11-23', 1187.8),
          ('2016-11-24', 1183.6),
          ('2016-11-25', 1183.4),
          ('2016-11-28', 1193.2),
          ('2016-11-29', 1187.1),
          ('2016-11-30', 1172),
          ('2016-12-01', 1173.6),
          ('2016-12-02', 1179.2),
          ('2016-12-05', 1172.1),
          ('2016-12-06', 1171.4),
          ('2016-12-07', 1175.5),
          ('2016-12-08', 1172.4),
          ('2016-12-09', 1161.4),
          ('2016-12-12', 1164.2),
          ('2016-12-13', 1160.1),
          ('2016-12-14', 1144.6),
          ('2016-12-15', 1130.3),
          ('2016-12-16', 1136.8),
          ('2016-12-19', 1139.7),
          ('2016-12-20', 1133.9),
          ('2016-12-21', 1133.2),
          ('2016-12-22', 1130),
          ('2016-12-23', 1135.2),
          ('2016-12-27', 1139.5),
          ('2016-12-28', 1142.5),
          ('2016-12-29', 1159),
          ('2016-12-30', 1152)]
